!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="60e4f94b-d5b0-412d-9e7d-48cd3d223824",e._sentryDebugIdIdentifier="sentry-dbid-60e4f94b-d5b0-412d-9e7d-48cd3d223824")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2552],{40744:function(e,t,n){n.d(t,{x7:function(){return ef},X5:function(){return en},Me:function(){return G},oo:function(){return ec},US:function(){return ee},RR:function(){return ei},Cp:function(){return el},Qo:function(){return ea},dr:function(){return eu},cv:function(){return et},Jv:function(){return Q},uY:function(){return er},dp:function(){return eo}});let r=["top","right","bottom","left"],i=r.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),o=Math.min,l=Math.max,f=Math.round,a=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}let w=new Set(["top","bottom"]);function y(e){return w.has(p(e))?"y":"x"}function v(e,t,n){void 0===n&&(n=!1);let r=h(e),i=g(y(e)),o=m(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=E(l)),[l,E(l)]}function x(e){return e.replace(/start|end/g,e=>s[e])}let b=["left","right"],R=["right","left"],A=["top","bottom"],P=["bottom","top"];function E(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function S(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function L(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function T(e,t,n){let r,{reference:i,floating:o}=e,l=y(t),f=g(y(t)),a=m(f),u=p(t),c="y"===l,s=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,w=i[a]/2-o[a]/2;switch(u){case"top":r={x:s,y:i.y-o.height};break;case"bottom":r={x:s,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(h(t)){case"start":r[f]-=w*(n&&c?-1:1);break;case"end":r[f]+=w*(n&&c?-1:1)}return r}let k=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,f=o.filter(Boolean),a=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:s}=T(u,r,a),d=r,p={},h=0;for(let n=0;ne[t]>=0)}function F(e){let t=o(...e.map(e=>e.left)),n=o(...e.map(e=>e.top));return{x:t,y:n,width:l(...e.map(e=>e.right))-t,height:l(...e.map(e=>e.bottom))-n}}let H=new Set(["left","top"]);async function W(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),f=h(n),a="y"===y(n),u=H.has(l)?-1:1,c=o&&a?-1:1,s=d(t,e),{mainAxis:g,crossAxis:m,alignmentAxis:w}="number"==typeof s?{mainAxis:s,crossAxis:0,alignmentAxis:null}:{mainAxis:s.mainAxis||0,crossAxis:s.crossAxis||0,alignmentAxis:s.alignmentAxis};return f&&"number"==typeof w&&(m="end"===f?-1*w:w),a?{x:m*c,y:g*u}:{x:g*u,y:m*c}}var _=n(97643);function K(e){let t=(0,_.Dx)(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=(0,_.Re)(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,a=f(n)!==o||f(r)!==l;return a&&(n=o,r=l),{width:n,height:r,$:a}}function M(e){return(0,_.kK)(e)?e:e.contextElement}function V(e){let t=M(e);if(!(0,_.Re)(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=K(t),l=(o?f(n.width):n.width)/r,a=(o?f(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let $=u(0);function j(e){let t=(0,_.Jj)(e);return(0,_.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:$}function B(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=M(e),f=u(1);t&&(r?(0,_.kK)(r)&&(f=V(r)):f=V(e));let a=(void 0===(i=n)&&(i=!1),r&&(!i||r===(0,_.Jj)(l))&&i)?j(l):u(0),c=(o.left+a.x)/f.x,s=(o.top+a.y)/f.y,d=o.width/f.x,p=o.height/f.y;if(l){let e=(0,_.Jj)(l),t=r&&(0,_.kK)(r)?(0,_.Jj)(r):r,n=e,i=(0,_.wK)(n);for(;i&&r&&t!==n;){let e=V(i),t=i.getBoundingClientRect(),r=(0,_.Dx)(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,p*=e.y,c+=o,s+=l,n=(0,_.Jj)(i),i=(0,_.wK)(n)}}return L({width:d,height:p,x:c,y:s})}function z(e,t){let n=(0,_.Lw)(e).scrollLeft;return t?t.left+n:B((0,_.tF)(e)).left+n}function Y(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:z(e,r)),y:r.top+t.scrollTop}}let I=new Set(["absolute","fixed"]);function J(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=(0,_.Jj)(e),r=(0,_.tF)(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,f=0,a=0;if(i){o=i.width,l=i.height;let e=(0,_.Pf)();(!e||e&&"fixed"===t)&&(f=i.offsetLeft,a=i.offsetTop)}return{width:o,height:l,x:f,y:a}}(e,n);else if("document"===t)r=function(e){let t=(0,_.tF)(e),n=(0,_.Lw)(e),r=e.ownerDocument.body,i=l(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=l(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),f=-n.scrollLeft+z(e),a=-n.scrollTop;return"rtl"===(0,_.Dx)(r).direction&&(f+=l(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:f,y:a}}((0,_.tF)(e));else if((0,_.kK)(t))r=function(e,t){let n=B(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=(0,_.Re)(e)?V(e):u(1),l=e.clientWidth*o.x;return{width:l,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=j(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return L(r)}function N(e){return"static"===(0,_.Dx)(e).position}function Z(e,t){if(!(0,_.Re)(e)||"fixed"===(0,_.Dx)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,_.tF)(e)===n&&(n=n.ownerDocument.body),n}function X(e,t){let n=(0,_.Jj)(e);if((0,_.tR)(e))return n;if(!(0,_.Re)(e)){let t=(0,_.Ow)(e);for(;t&&!(0,_.Py)(t);){if((0,_.kK)(t)&&!N(t))return t;t=(0,_.Ow)(t)}return n}let r=Z(e,t);for(;r&&(0,_.Ze)(r)&&N(r);)r=Z(r,t);return r&&(0,_.Py)(r)&&N(r)&&!(0,_.hT)(r)?n:r||(0,_.gQ)(e)||n}let q=async function(e){let t=this.getOffsetParent||X,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=(0,_.Re)(t),i=(0,_.tF)(t),o="fixed"===n,l=B(e,!0,o,t),f={scrollLeft:0,scrollTop:0},a=u(0);if(r||!r&&!o){if(("body"!==(0,_.wk)(t)||(0,_.ao)(i))&&(f=(0,_.Lw)(t)),r){let e=B(t,!0,o,t);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else i&&(a.x=z(i))}o&&!r&&i&&(a.x=z(i));let c=!i||r||o?u(0):Y(i,f);return{x:l.left+f.scrollLeft-a.x-c.x,y:l.top+f.scrollTop-a.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},Q={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=(0,_.tF)(r),f=!!t&&(0,_.tR)(t.floating);if(r===l||f&&o)return n;let a={scrollLeft:0,scrollTop:0},c=u(1),s=u(0),d=(0,_.Re)(r);if((d||!d&&!o)&&(("body"!==(0,_.wk)(r)||(0,_.ao)(l))&&(a=(0,_.Lw)(r)),(0,_.Re)(r))){let e=B(r);c=V(r),s.x=e.x+r.clientLeft,s.y=e.y+r.clientTop}let p=!l||d||o?u(0):Y(l,a,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+s.x+p.x,y:n.y*c.y-a.scrollTop*c.y+s.y+p.y}},getDocumentElement:_.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,f=[..."clippingAncestors"===n?(0,_.tR)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,_.Kx)(e,[],!1).filter(e=>(0,_.kK)(e)&&"body"!==(0,_.wk)(e)),i=null,o="fixed"===(0,_.Dx)(e).position,l=o?(0,_.Ow)(e):e;for(;(0,_.kK)(l)&&!(0,_.Py)(l);){let t=(0,_.Dx)(l),n=(0,_.hT)(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&I.has(i.position)||(0,_.ao)(l)&&!n&&function e(t,n){let r=(0,_.Ow)(t);return!(r===n||!(0,_.kK)(r)||(0,_.Py)(r))&&("fixed"===(0,_.Dx)(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=(0,_.Ow)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=f[0],u=f.reduce((e,n)=>{let r=J(t,n,i);return e.top=l(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=l(r.left,e.left),e},J(t,a,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:X,getElementRects:q,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=K(e);return{width:t,height:n}},getScale:V,isElement:_.kK,isRTL:function(e){return"rtl"===(0,_.Dx)(e).direction}};function U(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function G(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:f=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=M(e),h=f||u?[...p?(0,_.Kx)(p):[],...(0,_.Kx)(t)]:[];h.forEach(e=>{f&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let g=p&&s?function(e,t){let n,r=null,i=(0,_.tF)(e);function f(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function u(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),f();let d=e.getBoundingClientRect(),{left:p,top:h,width:g,height:m}=d;if(c||t(),!g||!m)return;let w=a(h),y=a(i.clientWidth-(p+g)),v={rootMargin:-w+"px "+-y+"px "+-a(i.clientHeight-(h+m))+"px "+-a(p)+"px",threshold:l(0,o(1,s))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==s){if(!x)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||U(d,e.getBoundingClientRect())||u(),x=!1}try{r=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,v)}r.observe(e)}(!0),f}(p,n):null,m=-1,w=null;c&&(w=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&w&&(w.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=w)||e.observe(t)})),n()}),p&&!d&&w.observe(p),w.observe(t));let y=d?B(e):null;return d&&function t(){let r=B(e);y&&!U(y,r)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{f&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=w)||e.disconnect(),w=null,d&&cancelAnimationFrame(i)}}let ee=C,et=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:f}=t,a=await W(t,e);return l===(null==(n=f.offset)?void 0:n.placement)&&null!=(r=f.arrow)&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:l}}}}},en=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o,l;let{rects:f,middlewareData:a,placement:u,platform:c,elements:s}=t,{crossAxis:g=!1,alignment:m,allowedPlacements:w=i,autoAlignment:y=!0,...b}=d(e,t),R=void 0!==m||w===i?((l=m||null)?[...w.filter(e=>h(e)===l),...w.filter(e=>h(e)!==l)]:w.filter(e=>p(e)===e)).filter(e=>!l||h(e)===l||!!y&&x(e)!==e):w,A=await C(t,b),P=(null==(n=a.autoPlacement)?void 0:n.index)||0,E=R[P];if(null==E)return{};let S=v(E,f,await (null==c.isRTL?void 0:c.isRTL(s.floating)));if(u!==E)return{reset:{placement:R[0]}};let L=[A[p(E)],A[S[0]],A[S[1]]],T=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:E,overflows:L}],k=R[P+1];if(k)return{data:{index:P+1,overflows:T},reset:{placement:k}};let O=T.map(e=>{let t=h(e.placement);return[e.placement,t&&g?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),D=(null==(o=O.filter(e=>e[2].slice(0,h(e[0])?2:3).every(e=>e<=0))[0])?void 0:o[0])||O[0][0];return D!==u?{data:{index:P+1,overflows:T},reset:{placement:D}}:{}}}},er=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:f=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=d(e,t),s={x:n,y:r},h=await C(t,c),m=y(p(i)),w=g(m),v=s[w],x=s[m];if(f){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=v+h[e],r=v-h[t];v=l(n,o(v,r))}if(a){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=x+h[e],r=x-h[t];x=l(n,o(x,r))}let b=u.fn({...t,[w]:v,[m]:x});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[w]:f,[m]:a}}}}}},ei=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:f,middlewareData:a,rects:u,initialPlacement:c,platform:s,elements:g}=t,{mainAxis:m=!0,crossAxis:w=!0,fallbackPlacements:S,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:k=!0,...O}=d(e,t);if(null!=(n=a.arrow)&&n.alignmentOffset)return{};let D=p(f),F=y(c),H=p(c)===c,W=await (null==s.isRTL?void 0:s.isRTL(g.floating)),_=S||(H||!k?[E(c)]:function(e){let t=E(e);return[x(e),t,x(t)]}(c)),K="none"!==T;!S&&K&&_.push(...function(e,t,n,r){let i=h(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?R:b;return t?b:R;case"left":case"right":return t?A:P;default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(x)))),o}(c,k,T,W));let M=[c,..._],V=await C(t,O),$=[],j=(null==(r=a.flip)?void 0:r.overflows)||[];if(m&&$.push(V[D]),w){let e=v(f,u,W);$.push(V[e[0]],V[e[1]])}if(j=[...j,{placement:f,overflows:$}],!$.every(e=>e<=0)){let e=((null==(i=a.flip)?void 0:i.index)||0)+1,t=M[e];if(t&&(!("alignment"===w&&F!==y(t))||j.every(e=>e.overflows[0]>0&&y(e.placement)===F)))return{data:{index:e,overflows:j},reset:{placement:t}};let n=null==(o=j.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(L){case"bestFit":{let e=null==(l=j.filter(e=>{if(K){let t=y(e.placement);return t===F||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(f!==n)return{reset:{placement:n}}}return{}}}},eo=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,f;let{placement:a,rects:u,platform:c,elements:s}=t,{apply:g=()=>{},...m}=d(e,t),w=await C(t,m),v=p(a),x=h(a),b="y"===y(a),{width:R,height:A}=u.floating;"top"===v||"bottom"===v?(i=v,f=x===(await (null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(f=v,i="end"===x?"top":"bottom");let P=A-w.top-w.bottom,E=R-w.left-w.right,S=o(A-w[i],P),L=o(R-w[f],E),T=!t.middlewareData.shift,k=S,O=L;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(O=E),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(k=P),T&&!x){let e=l(w.left,0),t=l(w.right,0),n=l(w.top,0),r=l(w.bottom,0);b?O=R-2*(0!==e||0!==t?e+t:l(w.left,w.right)):k=A-2*(0!==n||0!==r?n+r:l(w.top,w.bottom))}await g({...t,availableWidth:O,availableHeight:k});let D=await c.getDimensions(s.floating);return R!==D.width||A!==D.height?{reset:{rects:!0}}:{}}}},el=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=d(e,t);switch(r){case"referenceHidden":{let e=O(await C(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:D(e)}}}case"escaped":{let e=O(await C(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:D(e)}}}default:return{}}}}},ef=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:f,platform:a,elements:u,middlewareData:c}=t,{element:s,padding:p=0}=d(e,t)||{};if(null==s)return{};let w=S(p),v={x:n,y:r},x=g(y(i)),b=m(x),R=await a.getDimensions(s),A="y"===x,P=A?"clientHeight":"clientWidth",E=f.reference[b]+f.reference[x]-v[x]-f.floating[b],L=v[x]-f.reference[x],T=await (null==a.getOffsetParent?void 0:a.getOffsetParent(s)),k=T?T[P]:0;k&&await (null==a.isElement?void 0:a.isElement(T))||(k=u.floating[P]||f.floating[b]);let C=k/2-R[b]/2-1,O=o(w[A?"top":"left"],C),D=o(w[A?"bottom":"right"],C),F=k-R[b]-D,H=k/2-R[b]/2+(E/2-L/2),W=l(O,o(H,F)),_=!c.arrow&&null!=h(i)&&H!==W&&f.reference[b]/2-(He.y-t.y),n=[],r=null;for(let e=0;er.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>L(F(e)))}(h),m=L(F(h)),w=S(u),v=await f.getElementRects({reference:{getBoundingClientRect:function(){if(2===g.length&&g[0].left>g[1].right&&null!=c&&null!=s)return g.find(e=>c>e.left-w.left&&ce.top-w.top&&s=2){if("y"===y(n)){let e=g[0],t=g[g.length-1],r="top"===p(n),i=e.top,o=t.bottom,l=r?e.left:t.left,f=r?e.right:t.right;return{top:i,bottom:o,left:l,right:f,width:f-l,height:o-i,x:l,y:i}}let e="left"===p(n),t=l(...g.map(e=>e.right)),r=o(...g.map(e=>e.left)),i=g.filter(n=>e?n.left===r:n.right===t),f=i[0].top,a=i[i.length-1].bottom;return{top:f,bottom:a,left:r,right:t,width:t-r,height:a-f,x:r,y:f}}return m}},floating:r.floating,strategy:a});return i.reference.x!==v.reference.x||i.reference.y!==v.reference.y||i.reference.width!==v.reference.width||i.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},eu=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:f=0,mainAxis:a=!0,crossAxis:u=!0}=d(e,t),c={x:n,y:r},s=y(i),h=g(s),m=c[h],w=c[s],v=d(f,t),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(a){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+x.mainAxis,n=o.reference[h]+o.reference[e]-x.mainAxis;mn&&(m=n)}if(u){var b,R;let e="y"===h?"width":"height",t=H.has(p(i)),n=o.reference[s]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[s])||0)+(t?0:x.crossAxis),r=o.reference[s]+o.reference[e]+(t?0:(null==(R=l.offset)?void 0:R[s])||0)-(t?x.crossAxis:0);wr&&(w=r)}return{[h]:m,[s]:w}}}},ec=(e,t,n)=>{let r=new Map,i={platform:Q,...n},o={...i.platform,_c:r};return k(e,t,{...i,platform:o})}},5015:function(e,t,n){n.d(t,{Cp:function(){return y},RR:function(){return m},YF:function(){return s},cv:function(){return p},dp:function(){return w},dr:function(){return g},uY:function(){return h},x7:function(){return v}});var r=n(40744),i=n(52983),o=n(63730),l="undefined"!=typeof document?i.useLayoutEffect:function(){};function f(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!f(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!f(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function a(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=a(e);return Math.round(t*n)/n}function c(e){let t=i.useRef(e);return l(()=>{t.current=e}),t}function s(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:s=[],platform:d,elements:{reference:p,floating:h}={},transform:g=!0,whileElementsMounted:m,open:w}=e,[y,v]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,b]=i.useState(s);f(x,s)||b(s);let[R,A]=i.useState(null),[P,E]=i.useState(null),S=i.useCallback(e=>{e!==C.current&&(C.current=e,A(e))},[]),L=i.useCallback(e=>{e!==O.current&&(O.current=e,E(e))},[]),T=p||R,k=h||P,C=i.useRef(null),O=i.useRef(null),D=i.useRef(y),F=null!=m,H=c(m),W=c(d),_=c(w),K=i.useCallback(()=>{if(!C.current||!O.current)return;let e={placement:t,strategy:n,middleware:x};W.current&&(e.platform=W.current),(0,r.oo)(C.current,O.current,e).then(e=>{let t={...e,isPositioned:!1!==_.current};M.current&&!f(D.current,t)&&(D.current=t,o.flushSync(()=>{v(t)}))})},[x,t,n,W,_]);l(()=>{!1===w&&D.current.isPositioned&&(D.current.isPositioned=!1,v(e=>({...e,isPositioned:!1})))},[w]);let M=i.useRef(!1);l(()=>(M.current=!0,()=>{M.current=!1}),[]),l(()=>{if(T&&(C.current=T),k&&(O.current=k),T&&k){if(H.current)return H.current(T,k,K);K()}},[T,k,K,H,F]);let V=i.useMemo(()=>({reference:C,floating:O,setReference:S,setFloating:L}),[S,L]),$=i.useMemo(()=>({reference:T,floating:k}),[T,k]),j=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!$.floating)return e;let t=u($.floating,y.x),r=u($.floating,y.y);return g?{...e,transform:"translate("+t+"px, "+r+"px)",...a($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,g,$.floating,y.x,y.y]);return i.useMemo(()=>({...y,update:K,refs:V,elements:$,floatingStyles:j}),[y,K,V,$,j])}let d=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:i}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.x7)({element:n.current,padding:i}).fn(t):{}:n?(0,r.x7)({element:n,padding:i}).fn(t):{}}}),p=(e,t)=>({...(0,r.cv)(e),options:[e,t]}),h=(e,t)=>({...(0,r.uY)(e),options:[e,t]}),g=(e,t)=>({...(0,r.dr)(e),options:[e,t]}),m=(e,t)=>({...(0,r.RR)(e),options:[e,t]}),w=(e,t)=>({...(0,r.dp)(e),options:[e,t]}),y=(e,t)=>({...(0,r.Cp)(e),options:[e,t]}),v=(e,t)=>({...d(e),options:[e,t]})},97643:function(e,t,n){function r(){return"undefined"!=typeof window}function i(e){return f(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function l(e){var t;return null==(t=(f(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function f(e){return!!r()&&(e instanceof Node||e instanceof o(e).Node)}function a(e){return!!r()&&(e instanceof Element||e instanceof o(e).Element)}function u(e){return!!r()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function c(e){return!!r()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}n.d(t,{Dx:function(){return E},Jj:function(){return o},Kx:function(){return function e(t,n,r){var i;void 0===n&&(n=[]),void 0===r&&(r=!0);let l=function e(t){let n=L(t);return P(n)?t.ownerDocument?t.ownerDocument.body:t.body:u(n)&&d(n)?n:e(n)}(t),f=l===(null==(i=t.ownerDocument)?void 0:i.body),a=o(l);if(f){let t=T(a);return n.concat(a,a.visualViewport||[],d(l)?l:[],t&&r?e(t):[])}return n.concat(l,e(l,[],r))}},Lw:function(){return S},Ow:function(){return L},Pf:function(){return R},Py:function(){return P},Re:function(){return u},Ze:function(){return h},Zq:function(){return c},ao:function(){return d},gQ:function(){return b},hT:function(){return x},kK:function(){return a},tF:function(){return l},tR:function(){return m},wK:function(){return T},wk:function(){return i}});let s=new Set(["inline","contents"]);function d(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=E(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!s.has(i)}let p=new Set(["table","td","th"]);function h(e){return p.has(i(e))}let g=[":popover-open",":modal"];function m(e){return g.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let w=["transform","translate","scale","rotate","perspective"],y=["transform","translate","scale","rotate","perspective","filter"],v=["paint","layout","strict","content"];function x(e){let t=R(),n=a(e)?E(e):e;return w.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||y.some(e=>(n.willChange||"").includes(e))||v.some(e=>(n.contain||"").includes(e))}function b(e){let t=L(e);for(;u(t)&&!P(t);){if(x(t))return t;if(m(t))break;t=L(t)}return null}function R(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let A=new Set(["html","body","#document"]);function P(e){return A.has(i(e))}function E(e){return o(e).getComputedStyle(e)}function S(e){return a(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function L(e){if("html"===i(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||l(e);return c(t)?t.host:t}function T(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}},19702:function(e,t,n){n.d(t,{ee:function(){return C},Eh:function(){return D},VY:function(){return O},fC:function(){return k},D7:function(){return m}});var r=n(13491),i=n(52983),o=n(5015),l=n(40744),f=n(37956);let a=(0,i.forwardRef)((e,t)=>{let{children:n,width:o=10,height:l=5,...a}=e;return(0,i.createElement)(f.WV.svg,(0,r.Z)({},a,{ref:t,width:o,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,i.createElement)("polygon",{points:"0,0 30,0 15,10"}))});var u=n(81213),c=n(62331),s=n(91109),d=n(24577),p=n(10988);let h="Popper",[g,m]=(0,c.b)(h),[w,y]=g(h),v=(0,i.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:o,...l}=e,a=y("PopperAnchor",n),c=(0,i.useRef)(null),s=(0,u.e)(t,c);return(0,i.useEffect)(()=>{a.onAnchorChange((null==o?void 0:o.current)||c.current)}),o?null:(0,i.createElement)(f.WV.div,(0,r.Z)({},l,{ref:s}))}),x="PopperContent",[b,R]=g(x),A=(0,i.forwardRef)((e,t)=>{var n,a,c,h,g,m,w,v;let{__scopePopper:R,side:A="bottom",sideOffset:P=0,align:E="center",alignOffset:k=0,arrowPadding:C=0,avoidCollisions:O=!0,collisionBoundary:D=[],collisionPadding:F=0,sticky:H="partial",hideWhenDetached:W=!1,updatePositionStrategy:_="optimized",onPlaced:K,...M}=e,V=y(x,R),[$,j]=(0,i.useState)(null),B=(0,u.e)(t,e=>j(e)),[z,Y]=(0,i.useState)(null),I=(0,p.t)(z),J=null!==(n=null==I?void 0:I.width)&&void 0!==n?n:0,N=null!==(a=null==I?void 0:I.height)&&void 0!==a?a:0,Z="number"==typeof F?F:{top:0,right:0,bottom:0,left:0,...F},X=Array.isArray(D)?D:[D],q=X.length>0,Q={padding:Z,boundary:X.filter(S),altBoundary:q},{refs:U,floatingStyles:G,placement:ee,isPositioned:et,middlewareData:en}=(0,o.YF)({strategy:"fixed",placement:A+("center"!==E?"-"+E:""),whileElementsMounted:(...e)=>(0,l.Me)(...e,{animationFrame:"always"===_}),elements:{reference:V.anchor},middleware:[(0,o.cv)({mainAxis:P+N,alignmentAxis:k}),O&&(0,o.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===H?(0,o.dr)():void 0,...Q}),O&&(0,o.RR)({...Q}),(0,o.dp)({...Q,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}}),z&&(0,o.x7)({element:z,padding:C}),L({arrowWidth:J,arrowHeight:N}),W&&(0,o.Cp)({strategy:"referenceHidden",...Q})]}),[er,ei]=T(ee),eo=(0,s.W)(K);(0,d.b)(()=>{et&&(null==eo||eo())},[et,eo]);let el=null===(c=en.arrow)||void 0===c?void 0:c.x,ef=null===(h=en.arrow)||void 0===h?void 0:h.y,ea=(null===(g=en.arrow)||void 0===g?void 0:g.centerOffset)!==0,[eu,ec]=(0,i.useState)();return(0,d.b)(()=>{$&&ec(window.getComputedStyle($).zIndex)},[$]),(0,i.createElement)("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:et?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eu,"--radix-popper-transform-origin":[null===(m=en.transformOrigin)||void 0===m?void 0:m.x,null===(w=en.transformOrigin)||void 0===w?void 0:w.y].join(" ")},dir:e.dir},(0,i.createElement)(b,{scope:R,placedSide:er,onArrowChange:Y,arrowX:el,arrowY:ef,shouldHideArrow:ea},(0,i.createElement)(f.WV.div,(0,r.Z)({"data-side":er,"data-align":ei},M,{ref:B,style:{...M.style,animation:et?void 0:"none",opacity:null!==(v=en.hide)&&void 0!==v&&v.referenceHidden?0:void 0}}))))}),P={top:"bottom",right:"left",bottom:"top",left:"right"},E=(0,i.forwardRef)(function(e,t){let{__scopePopper:n,...o}=e,l=R("PopperArrow",n),f=P[l.placedSide];return(0,i.createElement)("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[f]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0}},(0,i.createElement)(a,(0,r.Z)({},o,{ref:t,style:{...o.style,display:"block"}})))});function S(e){return null!==e}let L=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:f,rects:a,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,s=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=T(f),g={start:"0%",center:"50%",end:"100%"}[h],m=(null!==(r=null===(i=u.arrow)||void 0===i?void 0:i.x)&&void 0!==r?r:0)+s/2,w=(null!==(o=null===(l=u.arrow)||void 0===l?void 0:l.y)&&void 0!==o?o:0)+d/2,y="",v="";return"bottom"===p?(y=c?g:`${m}px`,v=`${-d}px`):"top"===p?(y=c?g:`${m}px`,v=`${a.floating.height+d}px`):"right"===p?(y=`${-d}px`,v=c?g:`${w}px`):"left"===p&&(y=`${a.floating.width+d}px`,v=c?g:`${w}px`),{data:{x:y,y:v}}}});function T(e){let[t,n="center"]=e.split("-");return[t,n]}let k=e=>{let{__scopePopper:t,children:n}=e,[r,o]=(0,i.useState)(null);return(0,i.createElement)(w,{scope:t,anchor:r,onAnchorChange:o},n)},C=v,O=A,D=E},10988:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(52983),i=n(24577);function o(e){let[t,n]=(0,r.useState)(void 0);return(0,i.b)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},33838:function(e,t,n){n.d(t,{T:function(){return l},f:function(){return f}});var r=n(13491),i=n(52983),o=n(37956);let l=(0,i.forwardRef)((e,t)=>(0,i.createElement)(o.WV.span,(0,r.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),f=l}}]);